<?php

class Involved_AbutRecruitModel extends BaseModel
{

    protected $table = 'abut_recruit';

    /**
     *资讯列表
     * @return mixed
     */
    public function RecruitSelect()
    {
        return DB::table($this->table)
            ->select('recruit_id','recruit_position','duty','requirement','contact','created')
            ->get();
    }
    public function GetRecruitId($recruit_id)
    {
        return DB::table($this->table)
            ->select('recruit_id','recruit_position','duty','requirement','contact','created')
            ->where('recruit_id',$recruit_id)
            ->first();
    }
}
